/*****************************************************************************
 * HError.h
 *****************************************************************************
 *
 * Project:     HALCON/libhalcon
 * Description: Error messages
 *
 * (c) 1996-2018 by MVTec Software GmbH
 *                  www.mvtec.com
 *
 *****************************************************************************
 *
 *
 */


#ifndef HERROR_H
#define HERROR_H


#if defined(__cplusplus)
extern "C" {
#endif

extern HLibExport Herror HSetExtendedErrorInfo(Hproc_handle ph,
                                               INT4_8       error_code,
                                               char const*  error_message);
extern HLibExport Herror HClearExtendedErrorInfo(Hproc_handle ph);

extern HLibExport Herror HSetErrText(char* text);

extern HLibExport Herror HErrText(Herror message, char* err_text);

extern HLibExport Herror HErrorMessage(Herror message, char* msg_text);


#if defined(__cplusplus)
}
#endif


#endif
